import { createRouter, createWebHashHistory } from "vue-router";
const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    name: "home",
    path: "/home",
    component: () => import("../views/home/home.vue"),
  },
  {
    name: "personForm",
    path: "/personForm",
    component: () => import("../views/home/personForm/personForm.vue"),
  },
  {
    name: "companyForm",
    path: "/companyForm",
    component: () => import("../views/home/companyForm/companyForm.vue"),
  },
  {
    name: "signFile",
    path: "/signFile",
    component: () => import("../views/home/signFile/signFile.vue"),
  },
  {
    name: "test",
    path: "/test",
    component: () => import("../views/home/test.vue"),
  },
];
const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
